import Vue from 'vue'
import vuex from 'vuex'
Vue.use(vuex)

//个人信息

import modulesUser from './modules/modulesUser'

//首页模块
import modulesIndex from './modules/modulesIndex'

//工作页模块
import modulesWork from './modules/modulesWork'

//搜索详情页
import modulesSearch from './modules/modulesSearch'

//会员中心模块
import modulesMe from './modules/modulesMe'

//招商合作的list
import modulesInvestment from './modules/modulesInvestment'

// 邮件列表
import modulesResumeList from './modules/modulesResumeList'

// 公告信息内容
import modulesAnnouncement from './modules/modulesAnnouncement'

//区对应的镇子
import modulesTowns from './modules/modulesTowns'

//区对应的镇子
import modulesResume from './modules/modulesReume'

export default new vuex.Store({
  modules: {
    modulesIndex:modulesIndex,
    modulesUser:modulesUser,
    modulesWork:modulesWork,
    modulesMe:modulesMe,

    modulesSearch,
    modulesInvestment,
    modulesResumeList,
    modulesAnnouncement,
    modulesTowns,
    modulesResume
  }
})